import { BaseComp } from "./BaseComp";

export class DefaultComp extends BaseComp{


    show(): void {
        if (!this.isInit) {
            this.initControls();
            this.init();
            this.isInit = true;
        }
        this.beforeShow();
        super.show()
        this.afterShow();
    }


    hide(): void {
        this.beforeHide();
        super.hide()
        this.afterHide();
    }
}